package com.sghd.candy.module.skill.service;

import com.sghd.candy.module.skill.manager.SkillConfigManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * @author Allen
 * @date 2018/12/07
 */
@Service
public class SkillConfigService {
    @Autowired
    private SkillConfigManager skillConfigManager;

    public Set findSkill(int rarity) {
        return skillConfigManager.find(rarity);
    }
}
